package com.spa.application.dto.shop;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

@Data
@JsonInclude
public class BusinessDataDTO {

    /**
     * 取当天用户下单流水（如有退款去除退款金额）
     */
    private Integer performance;

    private Integer avgPerformance;

    private long inServicePeoples;

    private long buyPeoples;

    private long cancelPeoples;

    private Integer extraTimePeoples;

    private List<LeaderBoard> performanceLeaderBoard;

    private List<LeaderBoard> extraTimeLeaderBoard;

    @Data
    public static class LeaderBoard {

        private String headIcon;

        private String name;

        private Integer performance;
    }
}
